Svelte preprocess API
Posted on 2023-07-11 by
henrikvilhelmberglundSometimes we may want to write something other than JS, HTML and CSS and have this transformed into Svelte code. This blog is based on this concept, it uses mdsvex to turn markdown into Svelte code.
The good thing about that is that I can use Markdown and Svelte code interchangably, for example I can write an inline span element if I want some extra styling.
Preprocess API